//package com.tianlan.blog.service;
//
//import java.util.List;
//
//import org.springframework.cloud.openfeign.FeignClient;
////import org.springframework.cloud.netflix.feign.FeignClient;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//
//import com.tianlan.blog.entity.SysDept;
//
//
///**
// * 
// * @Description: 修改tianlan-api工程，根据已经有的DeptClientService接口
//
//新建
//
//一个实现了FallbackFactory接口的类DeptClientServiceFallbackFactory
// * @author zzyy
// * @date 2018年4月21日
// */
////@FeignClient(value = "TIANLAN-PROVIDER")
//@FeignClient(value = "TIANLAN-PROVIDER",fallbackFactory=DeptClientServiceFallbackFactory.class)
//public interface DeptClientService
//{
//	@RequestMapping(value = "/dept/get/{id}", method = RequestMethod.GET)
//	public SysDept get(@PathVariable("id") int id);
//
//	@RequestMapping(value = "/dept/list", method = RequestMethod.GET)
//	public List<SysDept> list();
//
////	@RequestMapping(value = "/dept/add", method = RequestMethod.POST)
////	public boolean add(Dept dept);
//}
